        <footer>
            <div class="row">
                <div class="col-md-12">
                    <hr/>
                    <p>
                        Copyright &copy; <?php echo esc(date("Y")); ?> The Godot Engine community - MIT licensed
                        <?php if(isset($user)) { ?>
                            <br><a href="<?php echo raw($basepath) ?>/change_password">Change Password</a>
                        <?php } ?>

                        <?php if(file_exists('.git/HEAD')) { $HEAD_contents = file_get_contents('.git/HEAD');?>
                            <?php if(preg_match('/^ref: (.+)$/m', $HEAD_contents, $ref_matches)) {
                                $ref = $ref_matches[1];
                                $commit_hash = trim(file_get_contents('.git/' . $ref));
                                ?>
                                <?php if(preg_match('/^[a-zA-Z0-9]+$/', $commit_hash)) { ?>
                                    <span class="text-muted pull-right">
                                        Currently running version <a href="https://github.com/godotengine/asset-library/commit/<?php echo url($commit_hash) ?>"><?php echo esc(substr($commit_hash, 0, 7)) ?></a>.
                                    </span>
                                <?php } ?>
                            <?php } ?>
                        <?php } ?>
                    </p>
                    <p class="text-muted text-right">
                        Links:
                        <a href="https://github.com/godotengine/asset-library">GitHub repository</a> |
                        <a href="https://github.com/godotengine/asset-library/issues">Issues</a> |
                        <a href="https://godotengine.org">Godot Engine homepage</a>
                    </p>
                </div>
            </div>
        </footer>
    </div>

    <!-- jQuery (necessary for Bootstrap's JavaScript plugins) -->
    <script defer src="<?php echo raw($bowerpath) ?>/jquery/dist/jquery.slim.min.js"></script>
    <!-- Include all compiled plugins (below), or include individual files as needed -->
    <script defer src="<?php echo raw($bowerpath) ?>/bootstrap/dist/js/bootstrap.min.js"></script>
</body>

</html>
